home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19941221-19950208
/
000149_news@columbia.edu_Wed Jan 11 14:43:05 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA14754
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 11 Jan 1995 09:43:10 -0500
Received: by apakabar.cc.columbia.edu id AA06272
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 11 Jan 1995 09:43:08 -0500
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Status line is overwritten
Date: 11 Jan 1995 14:43:05 GMT
Organization: Columbia University
Lines: 54
Message-Id: <3f0qpq$63u@apakabar.cc.columbia.edu>
References: <3f0ni6$fic@senior.nectec.or.th>
Nntp-Posting-Host: watsun.cc.columbia.edu
Keywords: Status line
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <3f0ni6$fic@senior.nectec.or.th>,
Sompop Kumnoonsate <sompop@morakot.nectec.or.th> wrote:
>Is there a way to set kermit to display only 24 lines?
>
It is, by default.
>I use kermit 3.14 beta 8 to connect to DEC Alpha OSF 3.0.
>The TERM environment is set to VT320.
>DEC always sends <ESC>[25;1H when I use "more" and the next character
>will display over status line. If the screen is scrolled the first
>line will show the last line of previous screen. But it will be
>disappeared after redraw screen.
>
The vt320 has 24 regular lines and one status line. The status line
should not be addressed by regular cursor-positioning commands like
<ESC>[25;1H, but rather by:
CSI Ps $ } DECSASD Select active status display
Ps = 0 select main display
Ps = 1 select status line
Moves cursor to selected display area. This command will be
ignored unless the status line has been enabled by CSI 2 $
~. When the status line has been selected cursor remains there
until the main display is reselected by CSI 0 $ }.
CSI Ps $ ~ DECSSDT Select Status Line Type
Ps meaning
0 no status line (empty)
1 indicator line (locally owned, Kermit default)
2 host-writable line
Check your vt320 termcap entry. There are items such as "hs, "ds",
"es", "fs", "ts", and "ws" that are used to handle the status line.
Note that Kermit protects its status line from ordinary screen
operations. It does not scroll, it does not disappear when the screen
is cleared, etc. However, Kermit does allow the status line to be
addressed directly by the host via <ESC>[25;xH, because this is commonly
used by host applications like sysline, etc.
Some OTHER applications apparently rely on the fact that if you address
a line (row) number that is greater than the actual number of lines,
that the cursor will go to the last line. (One program that absolutely
relies on this fact is "resize".)
The problem comes in when we address "last line plus one" -- the purpose
of this direct addressing is ambiguous. So we have two classes of
applications whose use of <ESC>[25;xH are in direct conflict with each
other.
The solution, in UNIX at least, is to cook up separate termcap/terminfo
entries for the two variations.
- Frank